package com.flower.enjoyment.flower.mapper;

import com.flower.enjoyment.flower.entity.FlowerCard;
import com.flower.enjoyment.flower.entityDo.FlowerCardDo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FlowerCardMapper {
    int deleteByPrimaryKey(String id);

    int insert(FlowerCard record);

    int insertSelective(FlowerCard record);

    FlowerCardDo selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(FlowerCard record);

    int updateByPrimaryKey(FlowerCard record);

    /**
     * 花享卡列表
     * @param iscommend
     * @return
     */
    List<FlowerCardDo> selectCardList(@Param("iscommend") int iscommend);
}